Test Series - computer fundamental

Test Number 47/95

Q: Which of the following is not a flowchart structure?
A. Process
B. Sequence
C. Repetition
D. Case
Solution: There are basically four flowcharting structures:
• Decision
• Repetition
• Case
• Sequence.
Q: The action performed by a ___________ structure must eventually cause the loop to terminate.
A. sequence
B. case
C. repetition
D. process
Solution: The action performed by a repetition structure must eventually cause the loop to terminate. Otherwise, an infinite loop is created.
Q: A _______ is a connector showing the relationship between the representative shapes.
A. line
B. arrow
C. Process
D. box
Solution: Arrows are the connectors that show the relationship between different shapes. They also show the flow of the program.
Q: Keep the statement language ______________ while writing a pseudo code.
A. Dependent
B. Independent
C. Case sensitive
D. Capitalized
Solution: The statement’s language should be independent. Other rules are to write only one statement per line and end multiline structures.
Q: Capitalize initial keyword – This is a rule while writing a pseudo code.
A. True
B. False
C. none
D. ..
Solution: The statement is true. It is an important rule to capitalize the initial keyword while writing a pseudo code.
Q: Which of the following is not a keyword?
A. Read
B. Write
C. start
D. endif
Solution: Start is not a Keyword. Other words like read, write, if, else, etc are keywords and convey a special meaning.
Q: ______________ is used to show hierarchy in a pseudo code.
A. Indentation
B. Curly Braces
C. Round Brackets
D. Semicolon
Solution: Each design structure uses a particular indentation pattern.
Indentation should be considered in the following cases:
Sequence
Selection
Loop.
Q: The statement that tells the computer to get a value from an input device and store it in a memory location.
A. read
B. write
C. READ
D. WRITE
Solution: The READ statement is used to take the input. READ being a keyword should be in capital letters.
Q: A symbol used for grouping.
A. ()
B. {}
C. [].
D. ” ”
Solution: Parenthesis is used for grouping while working with fields. There are other symbols like *, +, -, **, etc.
Q: A statement used to close the IF block.
A. ELSE
B. ELSEIF
C. END
D. ENDIF
Solution: The answer is ENDIF. It is used to close the IF block. ENDIF statement should be in line with the IF statement.

You Have Score    /10